import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
	import './assets/css/index.css';

import Antd from 'ant-design-vue';
Vue.use(Antd);
import 'ant-design-vue/dist/antd.css';


Vue.config.productionTip = false;


import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

router.beforeEach((to, from, next) => {
	console.log(to)
  NProgress.start()
  next()
})

router.afterEach(() => {
	setTimeout(function(){
		NProgress.done()
	},2000)
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
